package com.boilerCloud.service.device;

import java.util.List;

import org.springframework.stereotype.Service;

import com.boilerCloud.dto.HzlqswPage;
import com.boilerCloud.dto.device.ModelInfo;
import com.boilerCloud.dto.device.ModelType;
@Service
public interface IModelService {

	void del(int id)throws Exception;

	void save(ModelInfo model)throws Exception;

	void edit(ModelInfo model)throws Exception;

	void qryList(ModelInfo model, HzlqswPage<ModelInfo> page)throws Exception;

	void qryModelTypeList(ModelType model, HzlqswPage<ModelType> page)throws Exception;

	void editModelType(ModelType model)throws Exception;

	void addModelType(ModelType model)throws Exception;

	void delModelType(int id)throws Exception;

	List<ModelType> getModelTypeList(ModelType object)throws Exception;

	List<ModelInfo> getModelList(ModelInfo object)throws Exception;

	ModelInfo getModelInfo(int id)throws Exception;

	ModelType getModelType(int id)throws Exception;

}
